<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./css/login.css">
    <script src="./js/axios.min.js"></script>
    <!-- 页面的进度条效果 -->
    <script src="./js/nprogress.min.js"></script>
    <link rel="stylesheet" href="./css/nprogress.min.css">
</head>
<body>
    <div class="login">
        <div class="box">
            <h2>登录</h2>
            <label>
                账号: 
                <input type="text" placeholder="请输入账号" id="username">
                <span id="usernamespan"></span>
            </label><br>
            <label>
                密码: 
                <input type="password" placeholder="请输入密码" id="password">
                <span id="passwordspan"></span>
            </label><br>
            <input type="text" id="inpcode"><span id="code" onclick="getCode()"></span><br>
            <button id="login">登录</button> &emsp;&emsp; <a href="##">忘记密码</a>
        </div>
    </div>
    <!-- 二次封装axios -->
    <script src="./js/request.js"></script>
    <!-- 登录的js代码 -->
    <script src="./js/login.js"></script>
</body>
</html>